package com.acmetelecom.customer;

public class CustomerBuilder {
	public static class NumberBuilder {
		private String name, number;

		public NumberBuilder(String name, String number) {
			super();
			this.name = name;
			this.number = number;
		}
		
		public Customer withThePricePlan(String pricePlan) {
			return new Customer(name, number, pricePlan);
		}
	}

	public static class NameBuilder {
		String name;
		public NameBuilder(String name) {
			this.name = name;
		}
		
		public NumberBuilder withPhoneNo(String phoneNo) {
			return new NumberBuilder(name, phoneNo);
		}

	}

	public static NameBuilder aCustomerNamed(String name) {
		return new NameBuilder(name);
	}
}
